/-docs
/-editor
CodeMirrorEditor.ts
CompletionCodeMirrorEditor.ts
CssEditorType.ts
Editor.ts
EditorType.ts
HtmlEditorType.ts
JavaScriptEditorType.ts
TypeScriptEditorType.ts
x-last-PlainTextEditorType.ts
/-files
/-files-old
/-imports
/-layout
/-storage
/-tests ...
/-tests/files
/-tests/storage
TestCase.html
TestCase.ts
TestPage.css
TestPage.html
TestPage.ts
_sampleTests.ts
teapo-tests.html
teapo-tests.ts
/-typings
codemirror.d.ts
knockout.d.ts
typescriptServices.d.ts
websql.d.ts
zip.js.d.ts
TypeScriptService.ts
functions.ts
ko.ts
persistence.api.ts
persistence.ts
shell.ts
teapo.html
teapo.ts
x
1
<!doctype html>
2
<html>
3
<head>
4
<title>Teapo tests v0.4h</title>
5
<meta name="viewport" content="width=800">
6
<style data-path='/tests/TestPage.css'>###tests/TestPage.css###</style>
7
</head>
8
<body>
9
10
11
12
13
<!-- Knockout HTML templates -->
14
<script id=TestPage data-path='/tests/TestPage.html' type='text/html'>###tests/TestPage.html###</script>
15
<script id=TestCase data-path='/tests/TestCase.html' type='text/html'>###tests/TestCase.html###</script>
16
17
18
<!--Knockout and CodeMirror (latter needed for execution of some static init code)-->
19
<script data-path='/imports/codemirror/codemirror.js'>###imports/codemirror/codemirror.js###</script>
20
<script data-path='/imports/knockout/knockout-3.0.0.js'>###imports/knockout/knockout-3.0.0.js###</script>
21
22
<script id=teapo-script>###teapo.ts:build###</script>
23
24
<!-- stick it in late, so all the script errors have valid line numbers -->
25
<div class=teapo-page></div>
26
27
<script>
28
  if (!teapo || !teapo.testApp) {
29
//     try {
30
      var teapoScript = document.getElementById('teapo-script');
31
      eval(teapoScript.innerHTML);
32
//     }
33
//     catch (error) {
34
//       alert(error.message+' '+(error.stack ? error.stack : error));
35
//     }
36
  }
37
  else {
38
    teapo.testApp.run();
39
  }
40
</script>
41
42
</body>
41:37 constructor (namespace?: any, _queueWorkItem?: (action: () => void) => void): teapo.tests.TestPage